<%--
  Created by IntelliJ IDEA.
  User: 王乐
  Date: 2018/7/10
  Time: 21:36
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>机构信息</title>
    <link rel="stylesheet" href="/static/js/plugins/jquery-easyui/themes/metro/easyui.css">
    <link rel="stylesheet" href="/static/js/plugins/jquery-easyui/themes/icon.css">
    <script src="/static/js/plugins/jquery-easyui/jquery.min.js"></script>
    <script src="/static/js/plugins/jquery-easyui/jquery.easyui.min.js"></script>
    <script src="/static/js/plugins/jquery-easyui/locale/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript" src="/static/js/system/stateUpdate.js"></script>
</head>
<body>
<table id="productInfo_datagrid"></table>
<div id="tb">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" onclick="add()"> 提审</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true"onclick="edit()">编辑</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true"onclick="changeSate()">投保人详情</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-search',plain:true" onclick="query()">保单详情</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" onclick="refresh()">刷新</a>
    投保人: <input class="easyui-textbox" type="text" name="keyword" id="keyword" prompt="请输入关键字"/>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-search',plain:true" onclick="querys()">搜素</a>
</div>
</div>
<div id="my_dialog">
    <form id="editForm" method="post" style="padding:30px 0px 0px 25px;">
        <input type="hidden" id="" name="id">
        <table style="border-collapse: separate;border-spacing: 10px;">
            <tr>
                <td >客户姓名:</td>
                <td><input class="easyui-textbox" type="text" name="clientname" readonly="true"/></td>
            </tr>
            <tr>
                <td >身份证号:</td>
                <td><input class="easyui-textbox" type="text" name="idcard" readonly="true" /></td>
            </tr>
            <tr>
                <td >年龄:</td>
                <td><input class="easyui-textbox" type="text" name="age" readonly="true"/></td>
            </tr>
            <tr>
                <td >性别:</td>
                <td><input class="easyui-combobox" type="text" name="gender"
                           data-options="data:[{'value':'0','text':'女'},{'value':'1','text':'男'}],valueField:'value',textField:'text',panelHeight:'auto'"
                /></td>
            </tr>
            <tr>
                <td >电话:</td>
                <td><input class="easyui-textbox" type="text" name="tel" readonly="true"/></td>
            </tr>
            <tr>
                <td >邮箱:</td>
                <td><input class="easyui-textbox" type="text" name="email" readonly="true"/></td>
            </tr>
            <tr>
                <td >QQ:</td>
                <td><input class="easyui-textbox" type="text" name="qq" readonly="true"/></td>
            </tr>
            <tr>
                <td>客户地址:</td>
                <td><input class="easyui-textbox" type="text" name="address" readonly="true"/></td>
            </tr>
            <tr>
                <td>客户来源:</td>
                <td><input class="easyui-textbox" type="text" name="source" readonly="true"/></td>
            </tr>
            <tr>
                <td >职业:</td>
                <td><input class="easyui-textbox" type="text" name="profession" readonly="true"/></td>
            </tr>
            <tr>
                <td >薪资水平:</td>
                <td><input class="easyui-textbox" type="text" name="salary" readonly="true"/></td>
            </tr>
        </table>
    </form>
</div>

<div id="car_dialog">
    <div id="aa" class="easyui-accordion" style="width:100%;height:99%;">
        <div title="车辆信息"  style="padding:10px;">
            <form id="car_Form" method="post" style="padding:40px 0px 0px 35px;">
                <input  type="hidden" name="car.id" />
                <table style="border-collapse: separate;border-spacing: 20px;">
                    <tr>
                        <td >车主姓名:</td>
                        <td><input class="easyui-textbox" type="text" name="username" /></td>
                    </tr>
                    <tr>
                        <td >车牌号码:</td>
                        <td><input class="easyui-textbox" type="text" name="carnum"/></td>
                    </tr>
                    <tr>
                        <td >购买日期:</td>
                        <td><input class="easyui-datebox" type="text" name="purchasedate"/></td>
                    </tr>
                    <tr>
                        <td >车辆品牌:</td>
                        <td><input class="easyui-textbox" type="text" name="car.carname" readonly="true"/></td>
                    </tr>
                    <tr>
                        <td >车辆型号:</td>
                        <td><input class="easyui-textbox" type="text" name="car.cartype" readonly="true"/></td>
                    </tr>
                    <tr>
                        <td >排气量/L:</td>
                        <td><input class="easyui-textbox" type="text" name="car.displacement" readonly="true"/></td>
                    </tr>
                    <tr>
                        <td >市场估价/万:</td>
                        <td><input class="easyui-textbox" type="text" name="car.marketval" readonly="true"/></td>
                    </tr>
                    <tr>
                        <td >分类:</td>
                        <td><input class="easyui-combobox" type="text" name="car.sort"
                                   data-options="
		valueField: 'sort',
		textField: 'text',
		data: [{
			sort: '1',
			text: '载人'
		},{
			sort: '0',
			text: '载物'
		}]"
                                   readonly="true"/></td>
                    </tr>
                    <tr>
                        <td >车载大小:</td>
                        <td><input class="easyui-combobox" type="text" name="car.carsizeId"
                                   data-options="
		valueField: 'carsizeId',
		textField: 'text',
		data: [{
			carsizeId: '1',
			text: '小型'
		},{
			carsizeId: '2',
			text: '中型'
		},{
			carsizeId: '3',
			text: '大型'
		}]"
                                   readonly="true" /></td>
                    </tr>

                </table>
            </form>
            <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" onclick="queryCar()">常见车型选择</a>
        </div>
        <div title="保险产品">
            <form id="info_form" method="post" style="padding:40px 0px 0px 35px;">
                <input type="hidden"  name="product_id">
                <input type="hidden"  name="storages_id">
                <table style="border-collapse: separate;border-spacing: 20px;">
                    <tr>
                        <td >承保机构:</td>
                        <td><input class="easyui-combobox" type="text" name="agency_id"  id="institution"
                                   data-options="url:'/agencyInfo/queryAgency',valueField:'id',textField:'name',panelHeight:'auto'"
                        /></td>
                        <td> <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-search'" onclick="safes()"> 添加</a></td>
                        <td >保险时长:</td>
                        <td><input type="text" id="year" name="durations"/>年</td>
                    </tr>

                </table>
                <div id="info_dialog">
                    <table id="info_datagrid"></table>
                </div>
                <table id="in_datagrid">

                </table>
                <table align="center">
                    <tbody>
                    <tr>
                        <th>
                            总计<span id="totalAmount" style="color: red;font-size: 60px" name="limit">0</span>元
                        </th>
                    </tr>
                    </tbody>
                </table>
                <input type="button" value="暂存保单" onclick="hold()">
            </form>
        </div>
    </div>
</div>
</div>
<div id="car_dialogplus">
    <table id="car_datagrid"></table>
</div>
</body>
</html>
